home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
2301_400
/
DISK2382
/
DISK2382.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-08-31
|
3KB
|
126 lines
ECHO OFF
CLS
ECHO ┌────────────────────────────────────────────────┐
ECHO │ Free Speech Installation and Upgrade Program │
ECHO └────────────────────────────────────────────────┘
ECHO
Press A if you are installing Free Speech for the first time
ECHO
Press B if you are installing Free Speech to an empty diskette
ECHO
Press C if you are upgrading from a previous version of Free Speech
ECHO
Press D for upgrade step two
QUERY Your choice: @CABD
IF ERRORLEVEL 2 GOTO CHKA
REM -----------------------------------
REM - Upgrade pre-check
REM -
CLS
ECHO Before continuing, you MUST make a back-up of your Free Speech
ECHO directory. This will preserve any changes you have made.
ECHO DO NOT SKIP THIS STEP!
ECHO
After you have made your backup, re-run INSTALL and select
ECHO Upgrade Step Two.
ECHO
NOTE: If you will be upgrading on a hard drive, INSTALL assumes
ECHO that your Free Speech files are in a directory named \FREE. If
ECHO this is not the case, please transfer the files to that directory
ECHO before proceeding.
ECHO
During the copying of the files, you will be asked for permission
ECHO to copy over existing files. Since you've made a back-up, it will
ECHO be safe to answer "Yes" each time.
QUERY Press the spacebar to continue ... @ X
GOTO QUIT
REM -----------------------------------
REM - Check diskette address
REM -
:CHKA
CLS
ECHO Press A if the Free Speech install diskette is in the A: drive
ECHO
Press B if the Free Speech install diskette is in the B: drive
QUERY Your choice: @AB
SET FQF=B
SET FQT=A
IF ERRORLEVEL 2 GOTO INA
SET FQF=A
SET FQT=B
REM -----------------------------------
REM - Get type of installation
REM -
:INA
CLS
ECHO Press %FQT% if you are installing to the %FQT%: diskette drive
ECHO
Press C if you are installing to the C: hard drive
ECHO
Press D if you are installing to the D: hard drive
ECHO
Press E if you are installing to the E: hard drive
ECHO
Press Q if you want to quit
QUERY Your choice (%FQF% C D E Q): @%FQF%CDEQ
IF ERRORLEVEL 5 GOTO QUIT
IF ERRORLEVEL 4 GOTO SETE
IF ERRORLEVEL 3 GOTO SETD
IF ERRORLEVEL 2 GOTO SETC
REM -----------------------------------
REM - Floppy installation
REM -
CLS
ECHO Place a pre-formatted diskette in the %FQT%: drive, then press the spacebar or...
QUERY Press Q to Quit @ Q
IF ERRORLEVEL 2 GOTO QUIT
%FQT%:
GOTO WRAPUP
REM -----------------------------------
REM - E Drive setup
REM -
:SETE
E:
GOTO HARD
REM -----------------------------------
REM - D Drive setup
REM -
:SETD
D:
GOTO HARD
REM -----------------------------------
REM - C Drive setup
REM -
:SETC
C:
GOTO HARD
REM -----------------------------------
REM - Hard drive installation
REM -
:HARD
CD \
IF NOT EXIST \FREE\*.* MD FREE
CD FREE
REM -----------------------------------
REM - Wrap-up
REM -
:WRAPUP
CLS
ECHO Unpacking program and data files...
%FQF%:PKUNZIP %FQF%:*.ZIP
CLS
ECHO
We will now run a program named HELPME, which will
ECHO explain what Free Speech is all about. HELPME can
ECHO also display or print the user manual, or help you
ECHO fill out a customer reply form.
QUERY Press the spacebar to continue... @ X
HELPME
REM -----------------------------------
REM - Los Endos
REM -
:QUIT
SET FQT=
SET FQF=